
package com.insigma.business.qrcode.soldier.dao;



import com.insigma.business.qrcode.soldier.dto.VenueAppointmentScheduleBSearcher;
import com.insigma.business.qrcode.soldier.entity.VenueAppointmentScheduleDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface VenueAppointmentScheduleDao {

    
    List<VenueAppointmentScheduleDO> search(final VenueAppointmentScheduleBSearcher innerSearcher);

    
    VenueAppointmentScheduleDO get(final String id);

    
    Integer insert(final VenueAppointmentScheduleDO venueAppointmentScheduleDO);

    
    Integer update(final VenueAppointmentScheduleDO venueAppointmentScheduleDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    List<VenueAppointmentScheduleDO> listByVenueId(String venueId);

    List<VenueAppointmentScheduleDO> listByVenueIdAndType(@Param("venueId")String venueId, @Param("appointType")String appointType);

    Integer deleteByVenueId(String venueId);
}
